package com.SparkCore.Test

class Task extends Serializable {

  val datas = List(1,2,3,4)

  //定义一个计算逻辑  匿名函数
  val logic = (num: Int) => {num * 2}
}
